#ifndef _PLATFORM_MEMORY_H
#define _PLATFORM_MEMORY_H

/* 处理器选择 */
#if ARCH_I386
#include <i386/memory.h>
#elif ARCH_AMD64
#include <amd64/memory.h>
#endif

#include <stddef.h>

/**
 * @breif: alloc memory from pool
 * @Need platform support
 */
void *mempool_alloc(size_t size);

#endif   /* _PLATFORM_MEMORY_H */
